package com.hzcx.app.simplechat.ui.moment.contract;

import android.content.Context;

import com.hzcx.app.simplechat.base.IPresenter;
import com.hzcx.app.simplechat.base.IView;
import com.hzcx.app.simplechat.ui.moment.bean.MomentBean;
import com.hzcx.app.simplechat.ui.moment.bean.NewMessageListBean;

import java.util.List;

public interface NewMessageContract {

    interface View extends IView {
        void messageResult(List<NewMessageListBean> data);
        void onFail();
        void clearSuccess();
    }

    interface Presenter extends IPresenter<View> {
        void getNewMessageList(Context context, int page);
        void clearNewMessageList(Context context);
    }

}
